package com.tjoris.bpmstudio;

import java.io.File;

import com.tjoris.midigateway.IMidiAction;
import com.tjoris.midigateway.MidiGatewayMain;

public class BpmStudioMain {
	public static void main(String[] args) {
		try {
			MidiGatewayMain.startGateway(new IMidiAction[] {
					new BpmAction("PlayA", "Play A", "PLAY1"),
					new BpmAction("PauseA", "Pause A", "PAUSE1"),
					new BpmAction("StopA", "Stop A", "STOP1"),
					new BpmAction("CueA", "Cue A", "CUE1"),
					new BpmAction("CupA", "Cup A", "CUP1"),
					new BpmAction("PrevA", "Previous A", "PREV1"),
					new BpmAction("NextA", "Next A", "NEXT1"),
					new BpmAction("PlayB", "Play B", "PLAY2"),
					new BpmAction("PauseB", "Pause B", "PAUSE2"),
					new BpmAction("StopB", "Stop B", "STOP2"),
					new BpmAction("CueB", "Cue B", "CUE2"),
					new BpmAction("CupB", "Cup B", "CUP2"),
					new BpmAction("PrevB", "Previous B", "PREV2"),
					new BpmAction("NextB", "Next B", "NEXT2"),
					new BpmAction("Fade", "Cross Fade", "FADENOW"),
					new BpmAction("Sample1", "Sample 1", "SMP_PLAY1"),
					new BpmAction("Sample2", "Sample 2", "SMP_PLAY2"),
					new BpmAction("Sample3", "Sample 3", "SMP_PLAY3"),
					new BpmAction("Sample4", "Sample 4", "SMP_PLAY4"),
					new BpmAction("Sample5", "Sample 5", "SMP_PLAY5"),
					new BpmAction("Sample6", "Sample 6", "SMP_PLAY6"),
					new BpmAction("Sample7", "Sample 7", "SMP_PLAY7"),
					new BpmAction("Sample8", "Sample 8", "SMP_PLAY8"),
					new BpmAction("Sample9", "Sample 9", "SMP_PLAY9"),
					}, new File("data/gateway.ini")
			);
		}
		catch (final Exception e) {
			e.printStackTrace();
		}
	}
}
